const ESLintPlugin =require('eslint-webpack-plugin');

module.exports = {
    mode: "development",
    devtool: "eval-source-map",
    devServer: {
        port: 8080
    },
    plugins:[
        new ESLintPlugin({
            eslintPath:"eslint",
            extensions:['js','jsx','ts','tsx'],
            exclude:['node_modules'],
            fix:false,
            formatter:'stylish'
        })
    ]
}


